#include<bits/stdc++.h>
using namespace std;
int main()
{
	string s;
	cin>>s;
	string t(s);
	reverse(t.begin(), t.end());
	if(t == s)
		cout<<"It is a palindrome number.";
	else
		cout<<"It is not a palindrome number.";
	return 0;
}

